﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title></title>
    <script type="text/javascript">
      window.DLR = {}
      DLR.settings = {background: 'yellow'}
    </script>
    <script src="/dlr/dlr.js" type="text/javascript"></script>
    <link type="text/css" rel="Stylesheet" href="tests.css" />
    <style type="text/css">
      body { padding: 0; margin: 0; }
    </style>
</head>
<body>
<div width="50" height="50" style="position:fixed;top:0;left:0;">
    <script type="application/xml+xaml" id="canvas1" width="50" height="50">
      <Canvas
        x:Name="canvas1"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Background="Red" Width="50" Height="50"
      >
      </Canvas>
    </script>
</div>

<script type="text/python" class="canvas1">
  from System.Windows.Media import SolidColorBrush, Colors
  brush = SolidColorBrush()
  brush.Color = Colors.Green
  me.Background = brush
</script>
</body>
</html>
